﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MyNote.Data.Models.Note>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= string.Format("编辑笔记: [{0}]", Model.Title) %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% 
        if (Model is MyNote.Data.Models.ReferenceNote)
            Html.RenderPartial("_EditReferenceNotePartial", Model);
        else
            Html.RenderPartial("_EditNotePartial", Model); %>
</asp:Content>
